package com.lovo.bean;

import java.util.List;

//频道实体类
public class ChannelBean {
    //频道编号
    private int id;
    //频道名字
    private String name;
    //频道描述
    private String channelDescribe;
    //主贴数量
    private int postNum;
    //帖子集合
    private List<PostBean> postList;

    public int getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getChannelDescribe() {
        return channelDescribe;
    }

    public void setChannelDescribe(String channelDescribe) {
        this.channelDescribe = channelDescribe;
    }

    public int getPostNum() {
        return postNum;
    }

    public void setPostNum(Integer postNum) {
        this.postNum = postNum;
    }

    public List<PostBean> getPostList() {
        return postList;
    }

    public void setPostList(List<PostBean> postList) {
        this.postList = postList;
    }

    @Override
    public String toString() {
        return "ChannelBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", channelDescribe='" + channelDescribe + '\'' +
                ", postNum=" + postNum +
                ", postList=" + postList +
                '}';
    }
}
